package com.washing.dao;

import com.washing.domain.SUserAddress;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;
import java.util.UUID;

@Repository
public interface SUserAddressDao extends JpaRepository<SUserAddress, Long> {


    SUserAddress findByOpenid(String openid);

    SUserAddress findByOpenidAndAid(String openid, int aid);
}
